IWCGJQTreeView.JQTreeViewOptions.CheckBoxPlugin.PluginActive:= True;
IWCGJQButton1.JQButtonOptions.Label_:= 'Check All';
IWCGJQButton1.JQButtonOptions.OnClick.OnEvent:= btnCheckAllCheckboxNodeClick;
IWCGJQButton2.JQButtonOptions.Label_:= 'Uncheck All';
IWCGJQButton2.JQButtonOptions.OnClick.OnEvent:= btnUncheckAllCheckboxNodeClick;
IWCGJQButton3.JQButtonOptions.Label_:= 'Show Checkbox''s';
IWCGJQButton3.JQButtonOptions.OnClick.OnEvent:= btnShowCheckboxNodeClick;
IWCGJQButton4.JQButtonOptions.Label_:= 'Hide Checkbox''s';
IWCGJQButton4.JQButtonOptions.OnClick.OnEvent:= btnHideCheckboxNodeClick;

procedure TIWFrameJQTreeView.btnUncheckAllCheckboxNodeClick(Sender: TObject; AURLParams: TStringList);
begin
  IWCGJQTreeView.JQTreeViewOptions.CheckBoxPlugin.AjaxUncheckAll;
end;

procedure TIWFrameJQTreeView.btnCheckAllCheckboxNodeClick(Sender: TObject; AURLParams: TStringList);
begin
  IWCGJQTreeView.JQTreeViewOptions.CheckBoxPlugin.AjaxCheckAll;
end;

procedure TIWFrameJQTreeView.btnShowCheckboxNodeClick(Sender: TObject; AURLParams: TStringList);
begin
  IWCGJQTreeView.JQTreeViewOptions.CheckBoxPlugin.AjaxShowCheckboxes(True);
end;

procedure TIWFrameJQTreeView.btnHideCheckboxNodeClick(Sender: TObject; AURLParams: TStringList);
begin
  IWCGJQTreeView.JQTreeViewOptions.CheckBoxPlugin.AjaxShowCheckboxes(False);
end;